Add INIT INFO block to example init.d/xend file.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 27 Apr 2007 15:21:20 +0000 (16:21 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 27 Apr 2007 15:21:20 +0000 (16:21 +0100)
Without it SuSE (and others?) will start xend before the
network.
Signed-off-by: Robert Valentan <R.Valentan@solid-soft.at>
tools/examples/init.d/xend

index c12b1a0386374d886465281e64a648b696d5bc6f..4bfc799465312ebce1ec31efc798beaeb2c2d322 100755 (executable)
@@ -6,6 +6,18 @@
 #
 # chkconfig: 2345 98 01
 # description: Starts and stops the Xen control daemon.
+### BEGIN INIT INFO
+# Provides:          xend
+# Required-Start:    $syslog $remote_fs
+# Should-Start:
+# Required-Stop:     $syslog $remote_fs
+# Should-Stop:
+# Default-Start:     3 4 5
+# Default-Stop:      0 1 2 6
+# Default-Enabled:   yes
+# Short-Description: Start/stop xend
+# Description:       Starts and stops the Xen control daemon.
+### END INIT INFO
 
 if ! grep -q "control_d" /proc/xen/capabilities ; then
        exit 0